import Layout from "@/layouts/layout-index.vue";
import {RouteRecordRaw} from "vue-router";

// 结果页面模块的路由配置
export default {
    path: '/result',
    name: 'Result',
    component: Layout,
    meta: {
        order: 4,
        title: '结果页面',
        icon: 'UserFilled',
        keepAlive: true
    },
    children: [
        {
            path: '/result/success',
            name: 'Success',
            component: () => import('@/views/result/success.vue'),
            meta: {
                title: "成功页面",
            },
        },
        {
            path: '/result/fail',
            name: 'Fail',
            component: () => import('@/views/result/fail.vue'),
            meta: {
                title: "失败页面",
            },
        },
    ],
} as RouteRecordRaw;